﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001203 RID: 4611
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartBattleCollegeCsReq : IMessage<StartBattleCollegeCsReq>, IMessage, IEquatable<StartBattleCollegeCsReq>, IDeepCloneable<StartBattleCollegeCsReq>, IBufferMessage
	{
		// Token: 0x17003A66 RID: 14950
		// (get) Token: 0x0600CE9A RID: 52890 RVA: 0x0022C664 File Offset: 0x0022A864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartBattleCollegeCsReq> Parser
		{
			get
			{
				return StartBattleCollegeCsReq._parser;
			}
		}

		// Token: 0x17003A67 RID: 14951
		// (get) Token: 0x0600CE9B RID: 52891 RVA: 0x0022C66B File Offset: 0x0022A86B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartBattleCollegeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A68 RID: 14952
		// (get) Token: 0x0600CE9C RID: 52892 RVA: 0x0022C67D File Offset: 0x0022A87D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartBattleCollegeCsReq.Descriptor;
			}
		}

		// Token: 0x0600CE9D RID: 52893 RVA: 0x0022C684 File Offset: 0x0022A884
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartBattleCollegeCsReq()
		{
		}

		// Token: 0x0600CE9E RID: 52894 RVA: 0x0022C68C File Offset: 0x0022A88C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartBattleCollegeCsReq(StartBattleCollegeCsReq other) : this()
		{
			this.id_ = other.id_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CE9F RID: 52895 RVA: 0x0022C6B1 File Offset: 0x0022A8B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartBattleCollegeCsReq Clone()
		{
			return new StartBattleCollegeCsReq(this);
		}

		// Token: 0x17003A69 RID: 14953
		// (get) Token: 0x0600CEA0 RID: 52896 RVA: 0x0022C6B9 File Offset: 0x0022A8B9
		// (set) Token: 0x0600CEA1 RID: 52897 RVA: 0x0022C6C1 File Offset: 0x0022A8C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x0600CEA2 RID: 52898 RVA: 0x0022C6CA File Offset: 0x0022A8CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartBattleCollegeCsReq);
		}

		// Token: 0x0600CEA3 RID: 52899 RVA: 0x0022C6D8 File Offset: 0x0022A8D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartBattleCollegeCsReq other)
		{
			return other != null && (other == this || (this.Id == other.Id && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CEA4 RID: 52900 RVA: 0x0022C708 File Offset: 0x0022A908
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CEA5 RID: 52901 RVA: 0x0022C747 File Offset: 0x0022A947
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CEA6 RID: 52902 RVA: 0x0022C74F File Offset: 0x0022A94F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CEA7 RID: 52903 RVA: 0x0022C758 File Offset: 0x0022A958
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Id != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CEA8 RID: 52904 RVA: 0x0022C78C File Offset: 0x0022A98C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CEA9 RID: 52905 RVA: 0x0022C7CA File Offset: 0x0022A9CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartBattleCollegeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CEAA RID: 52906 RVA: 0x0022C7FB File Offset: 0x0022A9FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CEAB RID: 52907 RVA: 0x0022C804 File Offset: 0x0022AA04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Id = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040052D6 RID: 21206
		private static readonly MessageParser<StartBattleCollegeCsReq> _parser = new MessageParser<StartBattleCollegeCsReq>(() => new StartBattleCollegeCsReq());

		// Token: 0x040052D7 RID: 21207
		private UnknownFieldSet _unknownFields;

		// Token: 0x040052D8 RID: 21208
		public const int IdFieldNumber = 9;

		// Token: 0x040052D9 RID: 21209
		private uint id_;
	}
}
